package com.quick.calcu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.quick.calcu.entity.ReviewPlan;

import java.util.List;

public interface ReviewPlanService extends IService<ReviewPlan> {
    List<ReviewPlan> getPlansByStudentId(Long studentId);

    /**
     * 查询复习计划并关联错题和学生信息
     */
    ReviewPlan getWithDetails(Long planId);

    /**
     * 更新复习计划的完成次数
     */
    boolean updateReviewCount(Long planId, Integer increment);
}